import styled from 'styled-components';


export const HomeWrapper = styled.div`
       overflow: hidden;
       width: 960px;
       margin: 0 auto;
`;

export const HomeLeft = styled.div`
       float: left;
       width: 625px;
       margin-left: 15px;
       padding-top: 30px;
       .bannerImage {
            width: 100%;
            height: 270px;
       }
`;

export const HomeRight = styled.div`
       width: 280px;
       float: right;
       padding-top: 30px;
`;

export const TopicWrapper = styled.div`
      overflow: hidden;
      padding: 20px 0 10px 0;
      margin-left: -18px;
      border-bottom: 1px solid #dcdcdc;

`;

export const TopicItem = styled.div`
      float: left;
      height: 32px;
      line-height: 32px;
      background: #f7f7f7;
      padding-right: 10px;
      font-size: 14px;
      color: #000;
      border: 1px solid #dcdcdc;
      border-radius: 4px;
      margin-left: 18px;
      margin-bottom: 18px;
      .topic-pic {
        display: block;
        float: left;
        width: 32px;
        height: 32px;
        margin-right: 10px;
      }
`;

export const ListItem = styled.div`
      overflow: hidden;
      padding: 20px 0;
      border-bottom: 1px solid #dcdcdc;
      border-sizing: border-box;
      .list-pic {
        display: block;
        float: right;
        width: 125px;
        height: 100px;
      }
`;

export const ListInfo = styled.div`
     width: 500px;
     float: left;
     .title {
        line-height: 27px;
        font-size: 18px;
        font-weight: bold;
     }
     .desc {
        margin: 0 0 8px;
        font-size: 13px;
        line-height: 24px;
        color: #999;
     }
`;

export const LoadMore = styled.div`
    width: 100%;
    height: 40px;
    line-height: 40px;
    margin: 30px 0;
    background: #a5a5a5;
    text-align: center;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
`;

export const RecommendWrapper = styled.div`
     padding-bottom: 4px;
     min-height: 228px;
`;
export const RecommendInfo = styled.div`
    cursor: pointer;
    width: 280px;
    height: 50px;
    margin-bottom: 6px;
    border-radius: 4px;
    background: url(${(props) => props.imgUrl});
    background-size: contain;
`;

export const RecommendQrcode = styled.div`
     &.downLoad-app {
        margin-bottom: 30px;
        padding: 10px 10px;
        width: 100%;
        border: 1px solid #f0f0f0;
        border-radius: 6px;
        background-color: #fff;
        box-sizing: border-box;
        overflow: hidden;
    }
     .downLoad {
        width: 60px;
        height: 60px;
        opacity: .85;
        vertical-align: middle;
    }
`;

export const RecommendInfoRight = styled.div`
     display: inline-block;
     vertical-align: middle;
     margin-left: 7px;
     .title {
        font-size: 15px;
        color: #333;
     }
     .desc {
        margin-top: 4px;
        font-size: 13px;
        color: #999;
     }
`;